package com.hualan.sfzyproject.mapper;

import com.hualan.sfzyproject.domain.FeaturedArticle;

import java.util.List;

/**
* @author 86187
* @description 针对表【featured_article(精选文章表)】的数据库操作Mapper
* @createDate 2025-01-10 20:05:12
* @Entity com.hualan.sfzyproject.domain.FeaturedArticle
*/
public interface FeaturedArticleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(FeaturedArticle record);

    int insertSelective(FeaturedArticle record);

    FeaturedArticle selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FeaturedArticle record);

    int updateByPrimaryKey(FeaturedArticle record);

    List<FeaturedArticle> selectAll();

    List<FeaturedArticle> selectByConsultantId(int consultantId);

}
